package com.imooc.example.order.command;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.axonframework.commandhandling.TargetAggregateIdentifier;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class StudentCreateCommand {

    @TargetAggregateIdentifier
    private String studentId;
    private String name;

}
